package com.ruoyi.voucher.domain.dto.req;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

/**
 * @description: 凭证添加请求对象
 * @author: Yuan
 * @create: 2025-02-27 11:34
 **/
@Data
public class VoucherReqDTO {

    private Long voucherId;
    @NotNull(message = "凭证字不能为空")
    private Long wordId;
    @NotNull(message = "凭证字号不能为空")
    private Long wordNo;
    private Date voucherDate;
    private String accountPeriod;
    private Long attachmentCount;
    private List<VoucherDetailReqDTO> details;
    private List<VoucherAccessoryReqDTO> fileList;

}
